package com.aigou.admin.dao;

import com.aigou.admin.entity.SearchHistory;

import java.util.List;

/**
 * @author chai
 * @date 2024/12/7 0007
 * @Description
 */
public interface SearchHistoryDao {
    List<SearchHistory> selectAll();
    SearchHistory selectById(String id);
    Boolean insert(SearchHistory searchHistory);
    Boolean update(SearchHistory searchHistory);
    Boolean delete(String id);
    Integer selectOrderCount();
    List<SearchHistory> selectSearchHistoryByLimit(Integer start, Integer rows);

    Integer selectOrderCountByLike(String k);
    List<SearchHistory> selectSearchHistoryByLike(Integer start, Integer rows,String k);

}
